package com.yyn.Learning.service;

import com.yyn.Learning.entity.EduSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yyn.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author yyn
 * @since 2022-11-16
 */
public interface EduSubjectService extends IService<EduSubject> {
//    添加课程分类
@ApiOperation("添加学科")
public void saveSubject(MultipartFile file,EduSubjectService subjectService);

    @ApiOperation("课程管理列表")
    public List getAllSubjectList();

    String getSubjectById(String id);

}
